package com.cyzy.dao;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.sql.Timestamp;
import java.util.List;

public class RoleMenu {

  private long roleId;
  private String roleName;
  private String description;
  private java.sql.Timestamp createTime;
  private String roleStatus;
  private long menuId;
  private String menuName;
  private String menuUrl;
  private String menus;
  private List<Long> menuIds;

  public long getRoleId() {
    return roleId;
  }

  public void setRoleId(long roleId) {
    this.roleId = roleId;
  }

  public String getRoleName() {
    return roleName;
  }

  public void setRoleName(String roleName) {
    this.roleName = roleName;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

  public String getRoleStatus() {
    return roleStatus;
  }

  public void setRoleStatus(String roleStatus) {
    this.roleStatus = roleStatus;
  }

  public long getMenuId() {
    return menuId;
  }

  public void setMenuId(long menuId) {
    this.menuId = menuId;
  }

  public String getMenuName() {
    return menuName;
  }

  public void setMenuName(String menuName) {
    this.menuName = menuName;
  }

  public String getMenuUrl() {
    return menuUrl;
  }

  public void setMenuUrl(String menuUrl) {
    this.menuUrl = menuUrl;
  }

  public String getMenus() {
    return menus;
  }

  public void setMenus(String menus) {
    this.menus = menus;
  }

  public List<Long> getMenuIds() {
    return menuIds;
  }

  public void setMenuIds(List<Long> menuIds) {
    this.menuIds = menuIds;
  }

  @Override
  public String toString() {
    return "RoleMenu{" +
            "roleId=" + roleId +
            ", roleName='" + roleName + '\'' +
            ", description='" + description + '\'' +
            ", createTime=" + createTime +
            ", roleStatus='" + roleStatus + '\'' +
            ", menuId=" + menuId +
            ", menuName='" + menuName + '\'' +
            ", menuUrl='" + menuUrl + '\'' +
            ", menus='" + menus + '\'' +
            ", menuIds=" + menuIds +
            '}';
  }
}
